﻿using DefaultNamespace;
using Timers;
using UnityEngine;

namespace Missile
{
    public class MissileAttack : Attack
    {
        protected override void SubAttackAction(Collider2D other)
        {
            var damageable = other.GetComponent<Damageable>();
            damageable.TakeDamage(1);
        }
    }
}